<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::SVec&lt; N, T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_s_p_h_1_1_s_vec-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::SVec&lt; N, T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5ad44a364832e580d9714cb6751882d9"><td class="memItemLeft" align="right" valign="top"><a id="a5ad44a364832e580d9714cb6751882d9"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>SVec</b> (T value_for_all)</td></tr>
<tr class="separator:a5ad44a364832e580d9714cb6751882d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8e2bd9b035544adc5734a9e321a08a0"><td class="memTemplParams" colspan="2"><a id="aa8e2bd9b035544adc5734a9e321a08a0"></a>
template&lt;class S &gt; </td></tr>
<tr class="memitem:aa8e2bd9b035544adc5734a9e321a08a0"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><b>SVec</b> (const S *source)</td></tr>
<tr class="separator:aa8e2bd9b035544adc5734a9e321a08a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af55942783e55f952d93c47a531c480f5"><td class="memTemplParams" colspan="2"><a id="af55942783e55f952d93c47a531c480f5"></a>
template&lt;class S &gt; </td></tr>
<tr class="memitem:af55942783e55f952d93c47a531c480f5"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><b>SVec</b> (const <a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, S &gt; &amp;source)</td></tr>
<tr class="separator:af55942783e55f952d93c47a531c480f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37bafa46875c9923b05a7b42503bfc44"><td class="memTemplParams" colspan="2"><a id="a37bafa46875c9923b05a7b42503bfc44"></a>
template&lt;class S &gt; </td></tr>
<tr class="memitem:a37bafa46875c9923b05a7b42503bfc44"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><b>SVec</b> (const SimTK::Vec&lt; N, S &gt; &amp;source)</td></tr>
<tr class="separator:a37bafa46875c9923b05a7b42503bfc44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae184feb8403cc2c4977bed470e6cb6a"><td class="memItemLeft" align="right" valign="top"><a id="aae184feb8403cc2c4977bed470e6cb6a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>SVec</b> (T v0, T v1)</td></tr>
<tr class="separator:aae184feb8403cc2c4977bed470e6cb6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30e999beab1515407fa899b4f9d2b51b"><td class="memItemLeft" align="right" valign="top"><a id="a30e999beab1515407fa899b4f9d2b51b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>SVec</b> (T v0, T v1, T v2)</td></tr>
<tr class="separator:a30e999beab1515407fa899b4f9d2b51b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d68c17b693c7fc4065be4474d0e1062"><td class="memItemLeft" align="right" valign="top"><a id="a2d68c17b693c7fc4065be4474d0e1062"></a>
T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (<a class="el" href="classint.html">int</a> index)</td></tr>
<tr class="separator:a2d68c17b693c7fc4065be4474d0e1062"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec3c02850560135feb52328e125541f3"><td class="memItemLeft" align="right" valign="top"><a id="aec3c02850560135feb52328e125541f3"></a>
const T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (<a class="el" href="classint.html">int</a> index) const</td></tr>
<tr class="separator:aec3c02850560135feb52328e125541f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a014777af75310c3454273cdd695e3231"><td class="memItemLeft" align="right" valign="top"><a id="a014777af75310c3454273cdd695e3231"></a>
<a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>nonzero</b> (void) const</td></tr>
<tr class="separator:a014777af75310c3454273cdd695e3231"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12cf0d2644fa61e38cd8a1d23f12426e"><td class="memItemLeft" align="right" valign="top"><a id="a12cf0d2644fa61e38cd8a1d23f12426e"></a>
<a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (const <a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt; &amp;b) const</td></tr>
<tr class="separator:a12cf0d2644fa61e38cd8a1d23f12426e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e4f20e58732a00d7e39b2b04cec2589"><td class="memItemLeft" align="right" valign="top"><a id="a7e4f20e58732a00d7e39b2b04cec2589"></a>
<a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator!=</b> (const <a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt; &amp;b) const</td></tr>
<tr class="separator:a7e4f20e58732a00d7e39b2b04cec2589"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aceb996e507b0d1cf9eb25a557e18db8d"><td class="memItemLeft" align="right" valign="top"><a id="aceb996e507b0d1cf9eb25a557e18db8d"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt; &amp;b)</td></tr>
<tr class="separator:aceb996e507b0d1cf9eb25a557e18db8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bc43b06ec2facc2b68c0354a18baff6"><td class="memItemLeft" align="right" valign="top"><a id="a8bc43b06ec2facc2b68c0354a18baff6"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator+</b> (void) const</td></tr>
<tr class="separator:a8bc43b06ec2facc2b68c0354a18baff6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada4af6aed8504a3e5bcad7a7eaeb3bbd"><td class="memItemLeft" align="right" valign="top"><a id="ada4af6aed8504a3e5bcad7a7eaeb3bbd"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator+=</b> (T a)</td></tr>
<tr class="separator:ada4af6aed8504a3e5bcad7a7eaeb3bbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b0ee85ae33dcb6c81fbef1cb5b74859"><td class="memItemLeft" align="right" valign="top"><a id="a2b0ee85ae33dcb6c81fbef1cb5b74859"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator+</b> (T a) const</td></tr>
<tr class="separator:a2b0ee85ae33dcb6c81fbef1cb5b74859"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a259661a36e7f8e64ae56241d9a485791"><td class="memItemLeft" align="right" valign="top"><a id="a259661a36e7f8e64ae56241d9a485791"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator+=</b> (const <a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt; &amp;w)</td></tr>
<tr class="separator:a259661a36e7f8e64ae56241d9a485791"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1eed7be25ada0c0c9213a5d849f62595"><td class="memItemLeft" align="right" valign="top"><a id="a1eed7be25ada0c0c9213a5d849f62595"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator+</b> (const <a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt; &amp;w) const</td></tr>
<tr class="separator:a1eed7be25ada0c0c9213a5d849f62595"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a108590f239a0d5cce4be5b2df07b536e"><td class="memItemLeft" align="right" valign="top"><a id="a108590f239a0d5cce4be5b2df07b536e"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator-=</b> (T a)</td></tr>
<tr class="separator:a108590f239a0d5cce4be5b2df07b536e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72d51ed6178b769eb616cd91f4e04259"><td class="memItemLeft" align="right" valign="top"><a id="a72d51ed6178b769eb616cd91f4e04259"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator-</b> (T a) const</td></tr>
<tr class="separator:a72d51ed6178b769eb616cd91f4e04259"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44cb071e7dd19a1d70e835ca3590ceaf"><td class="memItemLeft" align="right" valign="top"><a id="a44cb071e7dd19a1d70e835ca3590ceaf"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator-=</b> (const <a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt; &amp;w)</td></tr>
<tr class="separator:a44cb071e7dd19a1d70e835ca3590ceaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a656711ea4bd5a2e6b23cc9cd8bc20660"><td class="memItemLeft" align="right" valign="top"><a id="a656711ea4bd5a2e6b23cc9cd8bc20660"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator-</b> (void) const</td></tr>
<tr class="separator:a656711ea4bd5a2e6b23cc9cd8bc20660"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc85bb368aee7c74abbea10626d49302"><td class="memItemLeft" align="right" valign="top"><a id="acc85bb368aee7c74abbea10626d49302"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator-</b> (const <a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt; &amp;w) const</td></tr>
<tr class="separator:acc85bb368aee7c74abbea10626d49302"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a106e66a660bacaa0f1d5245c46099a94"><td class="memItemLeft" align="right" valign="top"><a id="a106e66a660bacaa0f1d5245c46099a94"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator*=</b> (T a)</td></tr>
<tr class="separator:a106e66a660bacaa0f1d5245c46099a94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc85eb370575af4c1e689e976bc4c1c6"><td class="memItemLeft" align="right" valign="top"><a id="abc85eb370575af4c1e689e976bc4c1c6"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator*</b> (T a) const</td></tr>
<tr class="separator:abc85eb370575af4c1e689e976bc4c1c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ad63d73bbe46912bba6f75916c42dcb"><td class="memItemLeft" align="right" valign="top"><a id="a8ad63d73bbe46912bba6f75916c42dcb"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator*=</b> (const <a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt; &amp;w)</td></tr>
<tr class="separator:a8ad63d73bbe46912bba6f75916c42dcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a858ba5383671a1c05388fe36aec38325"><td class="memItemLeft" align="right" valign="top"><a id="a858ba5383671a1c05388fe36aec38325"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator*</b> (const <a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt; &amp;w) const</td></tr>
<tr class="separator:a858ba5383671a1c05388fe36aec38325"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af400cb8fffd2f6c8ccc658dffea74af9"><td class="memItemLeft" align="right" valign="top"><a id="af400cb8fffd2f6c8ccc658dffea74af9"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator/=</b> (T a)</td></tr>
<tr class="separator:af400cb8fffd2f6c8ccc658dffea74af9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77d2596043cad3408b4cf869d139cdb6"><td class="memItemLeft" align="right" valign="top"><a id="a77d2596043cad3408b4cf869d139cdb6"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator/</b> (T a) const</td></tr>
<tr class="separator:a77d2596043cad3408b4cf869d139cdb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab15c90986c7b816a4a264ae11c1c944a"><td class="memItemLeft" align="right" valign="top"><a id="ab15c90986c7b816a4a264ae11c1c944a"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator/=</b> (const <a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt; &amp;w)</td></tr>
<tr class="separator:ab15c90986c7b816a4a264ae11c1c944a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f3c7bca5931588aa43851f7fe6780e9"><td class="memItemLeft" align="right" valign="top"><a id="a8f3c7bca5931588aa43851f7fe6780e9"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator/</b> (const <a class="el" href="class_s_p_h_1_1_s_vec.html">SVec</a>&lt; N, T &gt; &amp;w) const</td></tr>
<tr class="separator:a8f3c7bca5931588aa43851f7fe6780e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>SPHINXsys/src/shared/base_data_type/<a class="el" href="small__vectors_8h_source.html">small_vectors.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
